//图片访问地址
let imgUrl = 'https://sj-sh.oss-cn-shanghai.aliyuncs.com'
//socket访问地址
let socketUrl = ''
//数据请求基地址
let domain = ''
//网页重定向地址
let redirect = ''
// let environment = process.env.NODE_ENV
// let environment = 'development'
let environment = 'production'
if (environment === 'development') {
	socketUrl = 'wss://d-yuanding.bigchun.com:1818'
	domain = "https://d-yuanding.bigchun.com"
	redirect = "https://d-yuanding.bigchun.com/h5test"
} else {
	socketUrl = 'wss://yuanding.bigchun.com:1818'
	domain = "https://yuanding.bigchun.com"
	redirect = "https://yuanding.bigchun.com"
	// socketUrl = 'wss://yeyan.bigchun.com:1818'
	// domain = "https://yeyan.bigchun.com"
	// redirect = "https://yeyan.bigchun.com"
}
module.exports = {
	HTTP_REQUEST_URL: domain,
	HTTP_WSS_URL: socketUrl,
	HTTP_IMG_URL: imgUrl,
	HTTP_REDIRECT_URL: redirect,
	HEADER: {
		'content-type': 'application/json'
	},
	HEADERPARAMS: {
		'content-type': 'application/x-www-form-urlencoded'
	},
	// 回话密钥名称 请勿修改此配置
	TOKENNAME: 'token',
	// 缓存时间 0 永久
	EXPIRE: 0,
};